package com.york.tinyrpc.protoss.constant;

/**
 * 重试策略常量
 */
public final class RetryStrategyConstants {

    private RetryStrategyConstants() {
    }

    // region 重试策略名称

    /**
     * 一致性哈希重试策略
     */
    public static final String EXPONENTIAL_BACKOFF = "exponentialBackoff";

    /**
     * 随机模式重试策略
     */
    public static final String FIXED_INTERVAL = "fixedInterval";

    /**
     * 轮询模式重试策略
     */
    public static final String NO_RETRY = "noRetry";

    /**
     * 静态加权随机模式重试策略
     */
    public static final String RANDOM_DELAY = "randomDelay";

    // endregion

}
